import Login from 'components/login/login'
import Index from 'components/index/index'
import Result from 'components/result/result'

export default [
  {
    path: '/login',
    name: 'login',
    component: Login,
    meta: {
      title: '登录'
    }
  },
  {
    path: '/',
    name: 'index',
    redirect: '/index'
  },
  {
    path: '/index',
    name: 'index',
    component: Index,
    meta: {
      title: '节目投票'
    }
  },
  {
    path: '/result',
    name: 'result',
    component: Result,
    meta: {
      title: '投票结果'
    }
  }
]
